package com.teamall.web.sys.db.po;

import java.math.*;
import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.teamall.framework.dto.AbstractDto;

public class SysInfoPO extends AbstractDto{
	private Integer  infoId;
	private String  infoType;
	private String  title;
	private String  content;
	private String  readNum;
	private Date  pubDate;
	private Date  expDate;
	private Integer  isTop;
	private String  infoName;
	private String  atttchUrls;
	private String  banner;
    private List attachList = new ArrayList();

    public List getAttachList() {
        return attachList;
    }

    public void setAttachList(List attachList) {
        this.attachList = attachList;
    }

    private String isTopName;

    public String getIsTopName() {
        if(isTop==0){
            return "否";
        }else{
            return "是";
        }
    }

    public Integer getInfoId() {
        return infoId;
    }
    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    
    public String getInfoType() {
        return StringUtils.isBlank(infoType) ? infoType : infoType.trim();
    }
    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }
    
    
    public String getTitle() {
        return StringUtils.isBlank(title) ? title : title.trim();
    }
    public void setTitle(String title) {
        this.title = title;
    }
    
    
    public String getContent() {
        return StringUtils.isBlank(content) ? content : content.trim();
    }
    public void setContent(String content) {
        this.content = content;
    }
    
    
    public String getReadNum() {
        return StringUtils.isBlank(readNum) ? readNum : readNum.trim();
    }
    public void setReadNum(String readNum) {
        this.readNum = readNum;
    }
    
    
    public Date getPubDate() {
        return pubDate;
    }
    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }

    
    public Date getExpDate() {
        return expDate;
    }
    public void setExpDate(Date expDate) {
        this.expDate = expDate;
    }

    
    public Integer getIsTop() {
        return isTop;
    }
    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    
    public String getInfoName() {
        return StringUtils.isBlank(infoName) ? infoName : infoName.trim();
    }
    public void setInfoName(String infoName) {
        this.infoName = infoName;
    }
    
    
    public String getAtttchUrls() {
        return StringUtils.isBlank(atttchUrls) ? atttchUrls : atttchUrls.trim();
    }
    public void setAtttchUrls(String atttchUrls) {
        this.atttchUrls = atttchUrls;
    }
    
    
    public String getBanner() {
        return StringUtils.isBlank(banner) ? banner : banner.trim();
    }
    public void setBanner(String banner) {
        this.banner = banner;
    }
    
    
}